import { createRouter, createWebHashHistory } from 'vue-router'
import TouristT from '../views/TouristT.vue'
import login from '../views/LogiN.vue'


const routes = [
  // {
  //   path: '/',
  //   name: 'login',
  //   component: login
  // },
  // {
  //   path: '/TouristT',
  //   name: 'TouristT',
  //   component: TouristT
  // },
  {
    path: '/login',
    name: 'login',
    component: login
  },
  {
    path: '/',
    name: 'TouristT',
    component: TouristT
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
